VERSION 5.00
Begin VB.Form frmServername 
   Caption         =   "Enter Server Name...."
   ClientHeight    =   1590
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4845
   LinkTopic       =   "Form2"
   ScaleHeight     =   1590
   ScaleWidth      =   4845
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdEnter 
      Caption         =   "Enter"
      Height          =   495
      Left            =   3120
      TabIndex        =   1
      Top             =   840
      Width           =   1335
   End
   Begin VB.TextBox txtInput 
      Height          =   375
      Left            =   2520
      TabIndex        =   0
      Top             =   240
      Width           =   1935
   End
   Begin VB.Label Label1 
      Caption         =   "Enter the server name: (PROD,DEV,LZG)"
      Height          =   375
      Left            =   120
      TabIndex        =   2
      Top             =   240
      Width           =   1935
   End
End
Attribute VB_Name = "frmServername"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdEnter_Click()
ServerName = UCase(frmServername.txtInput.Text)
If ServerName = "" Then
                MsgBox "Please enter a valid server name", vbCritical
ElseIf ServerName = "DEV" Then
    Unload Me
ElseIf ServerName = "PROD" Then
    Unload Me
ElseIf ServerName = "LOCAL" Then
    Unload Me
Else
    MsgBox "Please enter a valid server name", vbCritical
End If
End Sub
